#!/bin/bash
re=`/usr/sbin/ip addre|grep inet|grep -v 127.0.0.1|grep -v inet6|awk '{print $2}'|tr -d "addr:"`
echo "${re}"
